/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.io.Serializable;
import java.util.Date;
import javax.enterprise.context.SessionScoped;

/**
 *
 * @author Thet Paing Soe
 */
@SessionScoped
public class CurrentTime implements Serializable{
    Date d=new Date();
    public String greet(String name)
    {
        return (name+" Hello this is session scoped " + d);
    }
}
